﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BLL.Sec
{
  public  class UserGroup_UserInfo
    {
      private readonly OracleDAL.Sec.UserGroup_UserInfo dal = new OracleDAL.Sec.UserGroup_UserInfo();
      public UserGroup_UserInfo()
      {
      }
      #region  成员方法
      /// <summary>
      /// 是否存在该记录
      /// </summary>
      public bool Exists(string strWhere)
      {
          return dal.Exists(strWhere);
      }

      /// <summary>
      /// 增加一条数据
      /// </summary>
      public void Add(Model.Sec.UserGroup_UserInfo model)
      {
          dal.Add(model);
      }

     

      /// <summary>
      /// 删除一条数据
      /// </summary>
      public void Delete(string USERGROUPISN, string USERISN)
      {

          dal.Delete(USERGROUPISN, USERISN);
      }
      /// <summary>
      /// 删除一条数据
      /// </summary>
      public void Delete(string strWhere)
      {
          dal.Delete(strWhere);
      }
      /// <summary>
      /// 得到一个对象实体
      /// </summary>
      public Model.Sec.UserGroup_UserInfo GetModel(string USERGROUPISN, string USERISN)
      {

          return dal.GetModel(USERGROUPISN, USERISN);
      }
      /// <summary>
      /// 得到一个对象实体
      /// </summary>
      public Model.Sec.UserGroup_UserInfo GetModel(string Where)
      {
          return dal.GetModel(Where);
      }
      public bool Update(string UserGroupISN, string UserISN)
      {
          return dal.Update( UserGroupISN,UserISN);
      }
      #endregion  成员方法
    }
}
